#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "work1.h"
#include "work2.h"
#include "work3.h"
#include "work4.h"
MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_pushButton_clicked()
{
    work1 *new_win_dingdan;
    new_win_dingdan = new work1;
    new_win_dingdan->show();
}

void MainWindow::on_pushButton_2_clicked()
{
    work2 *goods_manage;
    goods_manage = new work2;
    goods_manage->show();
}

void MainWindow::on_pushButton_3_clicked()
{
    work3 *user_manage;
    user_manage = new work3;
    user_manage->show();
}

void MainWindow::on_pushButton_4_clicked()
{
    work4 *logistics;
    logistics = new work4;
    logistics->show();
}
